package com.xcity.pomelo.response;

import java.util.List;

import com.xcity.game.arena.online.model.RankingPlayer;
import com.xcity.game.item.ItemInfo;

import naga.x.net.impl.pomelo.PomeloMessage;
import naga.x.net.impl.pomelo.protocol.Message;

@PomeloMessage(type = Message.Type.RESPONSE)
public class ArenaOnlineRankingListResponse extends Response {
	
	public List<RankingList> list;
	
	public static class RankingList {
		// 排行榜类型（0-本服，1-全服）
		public byte type;
		// 玩家排名
		public int ranking;
		// 排行列表
		public List<Entry> list;
	}
	
	public static class Entry extends RankingPlayer {
		// 奖励物品
		public List<ItemInfo> rewards;
	}
	
	public ArenaOnlineRankingListResponse(int serial) {
		super(serial);
	}

}
